import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:wowhy/global/state.dart';
import 'package:english_words/english_words.dart';

class HomePageState extends GlobalBaseState<HomePageState> {
  RefreshController refreshController;
  String msg;
  List<WordPair> words;

  HomePageState({this.msg = '', this.words, this.refreshController});

  @override
  HomePageState clone() {
    return HomePageState(msg: msg, words: words, refreshController: refreshController)
      ..themeColor = themeColor;
  }
}

HomePageState initState(Map<String, dynamic> args) {
  //just demo, do nothing here...
  return HomePageState();
}
